﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace ScarEngine
{
    public class Component
    {
        public bool init;
        public GameObject Object;
        public string Name = "default";

        public Component()
        {
            init = true;
        }

        public virtual void Init()
        {
            init = false;
        }

        public virtual void Update(GameTime gameTime)
        {

        }

        public virtual void Prerequisites()
        {

        }

        public virtual void ExposeMethods()
        {

        }

        public virtual void UnExposeMethods()
        {

        }

        public virtual void Delete()
        {
            Object = null;
        }


    }
}